package com.itcs.trading.mapper;

import com.itcs.trading.model.TransJournal;

public interface TransJournalMapper {
	int deleteByPrimaryKey(String transNo);

	int insert(TransJournal record);

	int insertSelective(TransJournal record);

//	TransJournal selectByPrimaryKey(String transNo);

	int updateByPrimaryKeySelective(TransJournal record);

	int updateByPrimaryKey(TransJournal record);
	
	TransJournal selectByOrderNo(String orderNo);

	/** 
	 * 根据交易流水号和日期查询流水信息
	 * @param transNo
	 * @param createTime
	 * @return 
	 */
	TransJournal selectByTransNoAndCreateTime(TransJournal record);

}